package com.dragon.modules.yuegou.entity.points;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 商圈多倍积分表实体类<br>
 * 对应的表为：pt_busd_magnification_point<br>
 * 
 * @author pbuilder generated
 * @date 2022-08-10 11:23:20
 * @company sgy
 * @version 2.0
 */
@TableName("pt_busd_magnification_point")
@ApiModel(description = "商圈多倍积分表")
public class BusdMagnificationPointEntity {

    /** id */
	@ApiModelProperty("id")
	protected String id;

    /** 商圈id */
	@ApiModelProperty("商圈id")
	protected String busdId;

    /** 多倍积分权益名称 */
	@ApiModelProperty("多倍积分权益名称")
	protected String name;

    /** 多倍积分权益内容 */
	@ApiModelProperty("多倍积分权益内容")
	protected String content;

    /** 获取积分 */
	@ApiModelProperty("获取积分")
	protected Integer gainPoint;

    /** 原始积分 */
	@ApiModelProperty("原始积分")
	protected Integer beforePoint;

    /** 获取积分比率 */
	@ApiModelProperty("获取积分比率")
	protected BigDecimal gainRate;

    /** 积分配比类型 多个 0,1 */
	@ApiModelProperty("积分配比类型 多个 0,1")
	protected String ratio;

    /** 线上获取积分 */
	@ApiModelProperty("线上获取积分")
	protected Integer onlineGainPoint;

    /** 线上原始积分 */
	@ApiModelProperty("线上原始积分")
	protected Integer onlineBeforePoint;

    /** 线上获取积分比率 */
	@ApiModelProperty("线上获取积分比率")
	protected BigDecimal onlineGainRate;

    /** 线上多倍积分权益内容 */
	@ApiModelProperty("线上多倍积分权益内容")
	protected String onlineContent;

    /** 启用状态（1：启用 0：禁用） */
	@ApiModelProperty("启用状态（1：启用 0：禁用）")
	protected Boolean enableStatus;

    /**  */
	protected LocalDateTime beginTime;

    /**  */
	protected LocalDateTime endTime;

    /** 停止时间 */
	@ApiModelProperty("停止时间")
	protected LocalDateTime stopTime;

    /**  */
	protected LocalDateTime createdTime;

    /**  */
	protected String createdBy;

    /** 创建人手机号 */
	@ApiModelProperty("创建人手机号")
	protected String createdMobile;

    /**  */
	protected LocalDateTime modifiedTime;

    /**  */
	protected String modifiedBy;

	/**
	 * 构造一个空商圈多倍积分表实体对象
	 */
	public BusdMagnificationPointEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个商圈多倍积分表实体对象
	 * 
	 * @param other 其它对象
	 */
	public BusdMagnificationPointEntity(BusdMagnificationPointEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.name = other.name;
     	this.content = other.content;
     	this.gainPoint = other.gainPoint;
     	this.beforePoint = other.beforePoint;
     	this.gainRate = other.gainRate;
     	this.ratio = other.ratio;
     	this.onlineGainPoint = other.onlineGainPoint;
     	this.onlineBeforePoint = other.onlineBeforePoint;
     	this.onlineGainRate = other.onlineGainRate;
     	this.onlineContent = other.onlineContent;
     	this.enableStatus = other.enableStatus;
     	this.beginTime = other.beginTime;
     	this.endTime = other.endTime;
     	this.stopTime = other.stopTime;
     	this.createdTime = other.createdTime;
     	this.createdBy = other.createdBy;
     	this.createdMobile = other.createdMobile;
     	this.modifiedTime = other.modifiedTime;
     	this.modifiedBy = other.modifiedBy;
	}


	/**
	 * 获取id
	 * 
	 * @return id id
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置id
	 * 
	 * @param id id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈id
	 * 
	 * @return busdId 商圈id
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈id
	 * 
	 * @param busdId 商圈id
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取多倍积分权益名称
	 * 
	 * @return name 多倍积分权益名称
	 */
	public String getName() {
		return name;
	}
  	
	/**
	 * 设置多倍积分权益名称
	 * 
	 * @param name 多倍积分权益名称
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取多倍积分权益内容
	 * 
	 * @return content 多倍积分权益内容
	 */
	public String getContent() {
		return content;
	}
  	
	/**
	 * 设置多倍积分权益内容
	 * 
	 * @param content 多倍积分权益内容
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * 获取获取积分
	 * 
	 * @return gainPoint 获取积分
	 */
	public Integer getGainPoint() {
		return gainPoint;
	}
  	
	/**
	 * 设置获取积分
	 * 
	 * @param gainPoint 获取积分
	 */
	public void setGainPoint(Integer gainPoint) {
		this.gainPoint = gainPoint;
	}

	/**
	 * 获取原始积分
	 * 
	 * @return beforePoint 原始积分
	 */
	public Integer getBeforePoint() {
		return beforePoint;
	}
  	
	/**
	 * 设置原始积分
	 * 
	 * @param beforePoint 原始积分
	 */
	public void setBeforePoint(Integer beforePoint) {
		this.beforePoint = beforePoint;
	}

	/**
	 * 获取获取积分比率
	 * 
	 * @return gainRate 获取积分比率
	 */
	public BigDecimal getGainRate() {
		return gainRate;
	}
  	
	/**
	 * 设置获取积分比率
	 * 
	 * @param gainRate 获取积分比率
	 */
	public void setGainRate(BigDecimal gainRate) {
		this.gainRate = gainRate;
	}

	/**
	 * 获取积分配比类型 多个 0,1
	 * 
	 * @return ratio 积分配比类型 多个 0,1
	 */
	public String getRatio() {
		return ratio;
	}
  	
	/**
	 * 设置积分配比类型 多个 0,1
	 * 
	 * @param ratio 积分配比类型 多个 0,1
	 */
	public void setRatio(String ratio) {
		this.ratio = ratio;
	}

	/**
	 * 获取线上获取积分
	 * 
	 * @return onlineGainPoint 线上获取积分
	 */
	public Integer getOnlineGainPoint() {
		return onlineGainPoint;
	}
  	
	/**
	 * 设置线上获取积分
	 * 
	 * @param onlineGainPoint 线上获取积分
	 */
	public void setOnlineGainPoint(Integer onlineGainPoint) {
		this.onlineGainPoint = onlineGainPoint;
	}

	/**
	 * 获取线上原始积分
	 * 
	 * @return onlineBeforePoint 线上原始积分
	 */
	public Integer getOnlineBeforePoint() {
		return onlineBeforePoint;
	}
  	
	/**
	 * 设置线上原始积分
	 * 
	 * @param onlineBeforePoint 线上原始积分
	 */
	public void setOnlineBeforePoint(Integer onlineBeforePoint) {
		this.onlineBeforePoint = onlineBeforePoint;
	}

	/**
	 * 获取线上获取积分比率
	 * 
	 * @return onlineGainRate 线上获取积分比率
	 */
	public BigDecimal getOnlineGainRate() {
		return onlineGainRate;
	}
  	
	/**
	 * 设置线上获取积分比率
	 * 
	 * @param onlineGainRate 线上获取积分比率
	 */
	public void setOnlineGainRate(BigDecimal onlineGainRate) {
		this.onlineGainRate = onlineGainRate;
	}

	/**
	 * 获取线上多倍积分权益内容
	 * 
	 * @return onlineContent 线上多倍积分权益内容
	 */
	public String getOnlineContent() {
		return onlineContent;
	}
  	
	/**
	 * 设置线上多倍积分权益内容
	 * 
	 * @param onlineContent 线上多倍积分权益内容
	 */
	public void setOnlineContent(String onlineContent) {
		this.onlineContent = onlineContent;
	}

	/**
	 * 获取启用状态（1：启用 0：禁用）
	 * 
	 * @return enableStatus 启用状态（1：启用 0：禁用）
	 */
	public Boolean getEnableStatus() {
		return enableStatus;
	}
  	
	/**
	 * 设置启用状态（1：启用 0：禁用）
	 * 
	 * @param enableStatus 启用状态（1：启用 0：禁用）
	 */
	public void setEnableStatus(Boolean enableStatus) {
		this.enableStatus = enableStatus;
	}

	/**
	 * 获取
	 * 
	 * @return beginTime 
	 */
	public LocalDateTime getBeginTime() {
		return beginTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param beginTime 
	 */
	public void setBeginTime(LocalDateTime beginTime) {
		this.beginTime = beginTime;
	}

	/**
	 * 获取
	 * 
	 * @return endTime 
	 */
	public LocalDateTime getEndTime() {
		return endTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param endTime 
	 */
	public void setEndTime(LocalDateTime endTime) {
		this.endTime = endTime;
	}

	/**
	 * 获取停止时间
	 * 
	 * @return stopTime 停止时间
	 */
	public LocalDateTime getStopTime() {
		return stopTime;
	}
  	
	/**
	 * 设置停止时间
	 * 
	 * @param stopTime 停止时间
	 */
	public void setStopTime(LocalDateTime stopTime) {
		this.stopTime = stopTime;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return createdBy 
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdBy 
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取创建人手机号
	 * 
	 * @return createdMobile 创建人手机号
	 */
	public String getCreatedMobile() {
		return createdMobile;
	}
  	
	/**
	 * 设置创建人手机号
	 * 
	 * @param createdMobile 创建人手机号
	 */
	public void setCreatedMobile(String createdMobile) {
		this.createdMobile = createdMobile;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedTime 
	 */
	public LocalDateTime getModifiedTime() {
		return modifiedTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedTime 
	 */
	public void setModifiedTime(LocalDateTime modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedBy 
	 */
	public String getModifiedBy() {
		return modifiedBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedBy 
	 */
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

    public String toString() {
		return new StringBuilder().append("BusdMagnificationPointEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",name=").append(name).
			append(",content=").append(content).
			append(",gainPoint=").append(gainPoint).
			append(",beforePoint=").append(beforePoint).
			append(",gainRate=").append(gainRate).
			append(",ratio=").append(ratio).
			append(",onlineGainPoint=").append(onlineGainPoint).
			append(",onlineBeforePoint=").append(onlineBeforePoint).
			append(",onlineGainRate=").append(onlineGainRate).
			append(",onlineContent=").append(onlineContent).
			append(",enableStatus=").append(enableStatus).
			append(",beginTime=").append(beginTime).
			append(",endTime=").append(endTime).
			append(",stopTime=").append(stopTime).
			append(",createdTime=").append(createdTime).
			append(",createdBy=").append(createdBy).
			append(",createdMobile=").append(createdMobile).
			append(",modifiedTime=").append(modifiedTime).
			append(",modifiedBy=").append(modifiedBy).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public BusdMagnificationPointEntity copy() {
		return new BusdMagnificationPointEntity(this);
	}

    /** id */
	public static final String COL_ID = "id";

    /** 商圈id */
	public static final String COL_BUSD_ID = "busd_id";

    /** 多倍积分权益名称 */
	public static final String COL_NAME = "name";

    /** 多倍积分权益内容 */
	public static final String COL_CONTENT = "content";

    /** 获取积分 */
	public static final String COL_GAIN_POINT = "gain_point";

    /** 原始积分 */
	public static final String COL_BEFORE_POINT = "before_point";

    /** 获取积分比率 */
	public static final String COL_GAIN_RATE = "gain_rate";

    /** 积分配比类型 多个 0,1 */
	public static final String COL_RATIO = "ratio";

    /** 线上获取积分 */
	public static final String COL_ONLINE_GAIN_POINT = "online_gain_point";

    /** 线上原始积分 */
	public static final String COL_ONLINE_BEFORE_POINT = "online_before_point";

    /** 线上获取积分比率 */
	public static final String COL_ONLINE_GAIN_RATE = "online_gain_rate";

    /** 线上多倍积分权益内容 */
	public static final String COL_ONLINE_CONTENT = "online_content";

    /** 启用状态（1：启用 0：禁用） */
	public static final String COL_ENABLE_STATUS = "enable_status";

    /**  */
	public static final String COL_BEGIN_TIME = "begin_time";

    /**  */
	public static final String COL_END_TIME = "end_time";

    /** 停止时间 */
	public static final String COL_STOP_TIME = "stop_time";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_CREATED_BY = "created_by";

    /** 创建人手机号 */
	public static final String COL_CREATED_MOBILE = "created_mobile";

    /**  */
	public static final String COL_MODIFIED_TIME = "modified_time";

    /**  */
	public static final String COL_MODIFIED_BY = "modified_by";
}
